package com.ea.eadp.nexus.test.pageDefinition.pc;

import com.ea.eadp.nexus.test.pageDefinition.BasePage;
import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.support.ui.WebDriverWait;

/**
 * Created by yimingcao on 11/21/2014.
 */
public class UpdateEmailSuccessPage extends BasePage {
    public UpdateEmailSuccessPage(WebDriver driver) {
        super(driver, UpdateEmailSuccessPage.class);
    }

    public void clickContinueButton()
    {
        driver.switchTo().window(this.operationWindowHandle);
        this.waitForWebElementPresent(By.id("panel-email-confirmation"));
        driver.findElement(By.xpath("//div[@class=\"panel-action-area\"]/a[1]")).click();

    }
}
